<template>
  <div class="signword">
    <div class="header"  @click="myinfo">
      <van-icon class="left" name="arrow-left" />
      <span>个性签名</span>
      <button>保存</button>
    </div>
    <div>
      <input type="text" />
      <span>30</span>
    </div>
  </div>
</template>

<script>
  export default {
    methods: {
      myinfo() {
        this.$router.push("/myinfo")
      }
    },
  }
</script>

<style lang="scss" scoped>
  .header {
    height: 9vmin;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 5vmin;
    color: #000;

    button {
      border: none;
      color: gray;
      margin-right: 5px;
    }

    +div {
      position: relative;
    }

    +div>span {
      color: #999;
      float: right;
      position: absolute;
      font-size: 18px;
      top: 10px;
      right: 5px;
    }
   }

   input {
    width: 100%;
    height: 8vmin;
    font-size: 5vmin;
    outline: none;
    border: none;
    border-bottom: 1px solid rgba(gray, 0.3);
    background-color: #f9f9f9;
    }
</style>